/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package queenb.net.entitybean;

import java.io.Serializable;
import oracle.jdbc.OracleTypes;
import queenb.net.annotation.Mapping;
import queenb.net.datacontrol.DataControl;
import queenb.web.util.Util;

/**
 *
 * @author Nguyen Hung
 */
public class V300 extends DataControl<V300> implements Serializable{
    @Mapping(name = "PV300", typeMapping = OracleTypes.INTEGER)
    private int pv300;
    @Mapping(name = "FK100", typeMapping = OracleTypes.INTEGER)
    private int fk100;
    @Mapping(name = "FV200", typeMapping = OracleTypes.INTEGER)
    private int fv200;
    @Mapping(name = "VN302", typeMapping = OracleTypes.INTEGER)
    private int vn302;
    @Mapping(name = "VV301", typeMapping = OracleTypes.CHAR)
    private String vv301;
    @Mapping(name = "VV304", typeMapping = OracleTypes.CHAR)
    private String vv304;
    @Mapping(name = "VV305", typeMapping = OracleTypes.CHAR)
    private String vv305;
    @Mapping(name = "VV303", typeMapping = OracleTypes.CHAR)
    private String vv303;
    @Mapping(name = "VV201", typeMapping = OracleTypes.CHAR)
    private String vv201;
    
    private String vn302Str;
    private boolean selected;
    private String money;

    /**
     * @return the pv300
     */
    public int getPv300() {
        return pv300;
    }

    /**
     * @param pv300 the pv300 to set
     */
    public void setPv300(int pv300) {
        this.pv300 = pv300;
    }

    /**
     * @return the fk100
     */
    public int getFk100() {
        return fk100;
    }

    /**
     * @param fk100 the fk100 to set
     */
    public void setFk100(int fk100) {
        this.fk100 = fk100;
    }

    /**
     * @return the fv200
     */
    public int getFv200() {
        return fv200;
    }

    /**
     * @param fv200 the fv200 to set
     */
    public void setFv200(int fv200) {
        this.fv200 = fv200;
    }

    /**
     * @return the vn302
     */
    public int getVn302() {
        return vn302;
    }

    /**
     * @param vn302 the vn302 to set
     */
    public void setVn302(int vn302) {
        this.vn302 = vn302;
    }

    /**
     * @return the vv301
     */
    public String getVv301() {
        return vv301;
    }

    /**
     * @param vv301 the vv301 to set
     */
    public void setVv301(String vv301) {
        this.vv301 = vv301;
    }

    /**
     * @return the vv304
     */
    public String getVv304() {
        return vv304;
    }

    /**
     * @param vv304 the vv304 to set
     */
    public void setVv304(String vv304) {
        this.vv304 = vv304;
    }

    /**
     * @return the vv305
     */
    public String getVv305() {
        return vv305;
    }

    /**
     * @param vv305 the vv305 to set
     */
    public void setVv305(String vv305) {
        this.vv305 = vv305;
    }

    /**
     * @return the vv303
     */
    public String getVv303() {
        return vv303;
    }

    /**
     * @param vv303 the vv303 to set
     */
    public void setVv303(String vv303) {
        this.vv303 = vv303;
    }

    /**
     * @return the vv201
     */
    public String getVv201() {
        return vv201;
    }

    /**
     * @param vv201 the vv201 to set
     */
    public void setVv201(String vv201) {
        this.vv201 = vv201;
    }

    /**
     * @return the vn302Str
     */
    public String getVn302Str() {
         double ln203db = Util.convertStringToDouble(String.valueOf(getVn302()));
        vn302Str = Util.numberformater(ln203db, "##,###,###");

        return vn302Str;
    }

    /**
     * @param vn302Str the vn302Str to set
     */
    public void setVn302Str(String vn302Str) {
        this.vn302Str = vn302Str;
    }

    /**
     * @return the selected
     */
    public boolean isSelected() {
        return selected;
    }

    /**
     * @param selected the selected to set
     */
    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    /**
     * @return the money
     */
    public String getMoney() {
        
        return money;
    }

    /**
     * @param money the money to set
     */
    public void setMoney(String money) {
        this.money = money;
    }
    
}
